package com.stormrage.entity.learn.req;

import java.io.Serializable;

public class LeaApplyReq implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = -3280167376478382154L;

	private Integer acctId;

	private Integer termId;

	// ------------------------------- Fields -------------------------------

	public LeaApplyReq() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getAcctId() {
		return acctId;
	}

	public void setAcctId(Integer acctId) {
		this.acctId = acctId;
	}

	public Integer getTermId() {
		return termId;
	}

	public void setTermId(Integer termId) {
		this.termId = termId;
	}

	// ------------------------------- Fields -------------------------------

	public static LeaApplyReq instance(Integer acctId, Integer termId) {
		LeaApplyReq entity = new LeaApplyReq();
		entity.setAcctId(acctId);
		entity.setTermId(termId);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : acctId - " + acctId + " termId - " + termId;
	}

}
